.class Lcom/netease/newsreader/activity/FeedBackActivity$1;
.super Ljava/lang/Object;
.source "FeedBackActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/netease/newsreader/activity/FeedBackActivity;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/netease/newsreader/activity/FeedBackActivity;


# direct methods
.method constructor <init>(Lcom/netease/newsreader/activity/FeedBackActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/netease/newsreader/activity/FeedBackActivity$1;->this$0:Lcom/netease/newsreader/activity/FeedBackActivity;

    .line 139
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method static synthetic access$0(Lcom/netease/newsreader/activity/FeedBackActivity$1;)Lcom/netease/newsreader/activity/FeedBackActivity;
    .locals 1
    .parameter

    .prologue
    .line 139
    iget-object v0, p0, Lcom/netease/newsreader/activity/FeedBackActivity$1;->this$0:Lcom/netease/newsreader/activity/FeedBackActivity;

    return-object v0
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 7
    .parameter "v"

    .prologue
    const/4 v6, 0x0

    const/4 v5, 0x1

    .line 144
    iget-object v1, p0, Lcom/netease/newsreader/activity/FeedBackActivity$1;->this$0:Lcom/netease/newsreader/activity/FeedBackActivity;

    iget-object v2, p0, Lcom/netease/newsreader/activity/FeedBackActivity$1;->this$0:Lcom/netease/newsreader/activity/FeedBackActivity;

    invoke-static {v2}, Lcom/netease/newsreader/activity/FeedBackActivity;->access$0(Lcom/netease/newsreader/activity/FeedBackActivity;)Landroid/widget/EditText;

    move-result-object v2

    invoke-virtual {v2}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v2

    invoke-interface {v2}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Lcom/netease/newsreader/activity/FeedBackActivity;->access$1(Lcom/netease/newsreader/activity/FeedBackActivity;Ljava/lang/String;)V

    .line 146
    iget-object v1, p0, Lcom/netease/newsreader/activity/FeedBackActivity$1;->this$0:Lcom/netease/newsreader/activity/FeedBackActivity;

    iget-object v2, p0, Lcom/netease/newsreader/activity/FeedBackActivity$1;->this$0:Lcom/netease/newsreader/activity/FeedBackActivity;

    const-string v3, ""

    const-string v4, "\u6b63\u5728\u63d0\u4ea4\u53cd\u9988..."

    invoke-static {v2, v3, v4, v5, v5}, Landroid/app/ProgressDialog;->show(Landroid/content/Context;Ljava/lang/CharSequence;Ljava/lang/CharSequence;ZZ)Landroid/app/ProgressDialog;

    move-result-object v2

    invoke-static {v1, v2}, Lcom/netease/newsreader/activity/FeedBackActivity;->access$2(Lcom/netease/newsreader/activity/FeedBackActivity;Landroid/app/ProgressDialog;)V

    .line 147
    iget-object v1, p0, Lcom/netease/newsreader/activity/FeedBackActivity$1;->this$0:Lcom/netease/newsreader/activity/FeedBackActivity;

    invoke-static {v1}, Lcom/netease/newsreader/activity/FeedBackActivity;->access$3(Lcom/netease/newsreader/activity/FeedBackActivity;)Landroid/app/ProgressDialog;

    move-result-object v1

    invoke-virtual {v1, v5}, Landroid/app/ProgressDialog;->setCancelable(Z)V

    .line 148
    iget-object v1, p0, Lcom/netease/newsreader/activity/FeedBackActivity$1;->this$0:Lcom/netease/newsreader/activity/FeedBackActivity;

    invoke-static {v1}, Lcom/netease/newsreader/activity/FeedBackActivity;->access$3(Lcom/netease/newsreader/activity/FeedBackActivity;)Landroid/app/ProgressDialog;

    move-result-object v1

    new-instance v2, Lcom/netease/newsreader/activity/FeedBackActivity$1$1;

    invoke-direct {v2, p0}, Lcom/netease/newsreader/activity/FeedBackActivity$1$1;-><init>(Lcom/netease/newsreader/activity/FeedBackActivity$1;)V

    invoke-virtual {v1, v2}, Landroid/app/ProgressDialog;->setOnCancelListener(Landroid/content/DialogInterface$OnCancelListener;)V

    .line 160
    iget-object v1, p0, Lcom/netease/newsreader/activity/FeedBackActivity$1;->this$0:Lcom/netease/newsreader/activity/FeedBackActivity;

    invoke-static {v1}, Lcom/netease/newsreader/activity/FeedBackActivity;->access$4(Lcom/netease/newsreader/activity/FeedBackActivity;)Landroid/content/SharedPreferences;

    move-result-object v1

    invoke-interface {v1}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;

    move-result-object v1

    const-string v2, "feedback_account"

    iget-object v3, p0, Lcom/netease/newsreader/activity/FeedBackActivity$1;->this$0:Lcom/netease/newsreader/activity/FeedBackActivity;

    invoke-static {v3}, Lcom/netease/newsreader/activity/FeedBackActivity;->access$5(Lcom/netease/newsreader/activity/FeedBackActivity;)Landroid/widget/EditText;

    move-result-object v3

    invoke-virtual {v3}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v3

    invoke-interface {v3}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-interface {v1, v2, v3}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    move-result-object v1

    invoke-interface {v1}, Landroid/content/SharedPreferences$Editor;->commit()Z

    .line 162
    iget-object v1, p0, Lcom/netease/newsreader/activity/FeedBackActivity$1;->this$0:Lcom/netease/newsreader/activity/FeedBackActivity;

    invoke-static {v1}, Lcom/netease/newsreader/activity/FeedBackActivity;->access$6(Lcom/netease/newsreader/activity/FeedBackActivity;)Ljava/lang/String;

    move-result-object v1

    if-eqz v1, :cond_2

    const-string v1, ""

    iget-object v2, p0, Lcom/netease/newsreader/activity/FeedBackActivity$1;->this$0:Lcom/netease/newsreader/activity/FeedBackActivity;

    invoke-static {v2}, Lcom/netease/newsreader/activity/FeedBackActivity;->access$6(Lcom/netease/newsreader/activity/FeedBackActivity;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_2

    .line 164
    iget-object v1, p0, Lcom/netease/newsreader/activity/FeedBackActivity$1;->this$0:Lcom/netease/newsreader/activity/FeedBackActivity;

    invoke-static {v1}, Lcom/netease/newsreader/activity/FeedBackActivity;->access$6(Lcom/netease/newsreader/activity/FeedBackActivity;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    const/16 v2, 0x1f4

    if-le v1, v2, :cond_1

    .line 165
    iget-object v1, p0, Lcom/netease/newsreader/activity/FeedBackActivity$1;->this$0:Lcom/netease/newsreader/activity/FeedBackActivity;

    const-string v2, "\u5185\u5bb9\u8bf7\u4e0d\u8981\u8d85\u8fc7500\u5b57\uff0c\u8c22\u8c22\uff01"

    invoke-static {v1, v2, v6}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/Toast;->show()V

    .line 166
    iget-object v1, p0, Lcom/netease/newsreader/activity/FeedBackActivity$1;->this$0:Lcom/netease/newsreader/activity/FeedBackActivity;

    invoke-static {v1}, Lcom/netease/newsreader/activity/FeedBackActivity;->access$3(Lcom/netease/newsreader/activity/FeedBackActivity;)Landroid/app/ProgressDialog;

    move-result-object v1

    if-eqz v1, :cond_0

    .line 167
    iget-object v1, p0, Lcom/netease/newsreader/activity/FeedBackActivity$1;->this$0:Lcom/netease/newsreader/activity/FeedBackActivity;

    invoke-static {v1}, Lcom/netease/newsreader/activity/FeedBackActivity;->access$3(Lcom/netease/newsreader/activity/FeedBackActivity;)Landroid/app/ProgressDialog;

    move-result-object v1

    .line 168
    invoke-virtual {v1}, Landroid/app/ProgressDialog;->isShowing()Z

    move-result v1

    if-eqz v1, :cond_0

    .line 169
    iget-object v1, p0, Lcom/netease/newsreader/activity/FeedBackActivity$1;->this$0:Lcom/netease/newsreader/activity/FeedBackActivity;

    invoke-static {v1}, Lcom/netease/newsreader/activity/FeedBackActivity;->access$3(Lcom/netease/newsreader/activity/FeedBackActivity;)Landroid/app/ProgressDialog;

    move-result-object v1

    invoke-virtual {v1}, Landroid/app/ProgressDialog;->dismiss()V

    .line 194
    :cond_0
    :goto_0
    return-void

    .line 172
    :cond_1
    iget-object v1, p0, Lcom/netease/newsreader/activity/FeedBackActivity$1;->this$0:Lcom/netease/newsreader/activity/FeedBackActivity;

    new-instance v2, Ljava/lang/StringBuilder;

    iget-object v3, p0, Lcom/netease/newsreader/activity/FeedBackActivity$1;->this$0:Lcom/netease/newsreader/activity/FeedBackActivity;

    invoke-static {v3}, Lcom/netease/newsreader/activity/FeedBackActivity;->access$6(Lcom/netease/newsreader/activity/FeedBackActivity;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v3

    invoke-static {v3}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v3, " \uff08\u8054\u7cfb\u90ae\u7bb1\uff1a"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    iget-object v3, p0, Lcom/netease/newsreader/activity/FeedBackActivity$1;->this$0:Lcom/netease/newsreader/activity/FeedBackActivity;

    invoke-static {v3}, Lcom/netease/newsreader/activity/FeedBackActivity;->access$5(Lcom/netease/newsreader/activity/FeedBackActivity;)Landroid/widget/EditText;

    move-result-object v3

    invoke-virtual {v3}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v3

    invoke-interface {v3}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, "\uff09"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Lcom/netease/newsreader/activity/FeedBackActivity;->access$1(Lcom/netease/newsreader/activity/FeedBackActivity;Ljava/lang/String;)V

    .line 173
    new-instance v0, Lcom/netease/newsreader/activity/FeedBackActivity$postEditMessage;

    iget-object v1, p0, Lcom/netease/newsreader/activity/FeedBackActivity$1;->this$0:Lcom/netease/newsreader/activity/FeedBackActivity;

    invoke-direct {v0, v1}, Lcom/netease/newsreader/activity/FeedBackActivity$postEditMessage;-><init>(Lcom/netease/newsreader/activity/FeedBackActivity;)V

    .line 174
    .local v0, pe:Lcom/netease/newsreader/activity/FeedBackActivity$postEditMessage;
    invoke-virtual {v0}, Lcom/netease/newsreader/activity/FeedBackActivity$postEditMessage;->start()V

    goto :goto_0

    .line 181
    .end local v0           #pe:Lcom/netease/newsreader/activity/FeedBackActivity$postEditMessage;
    :cond_2
    iget-object v1, p0, Lcom/netease/newsreader/activity/FeedBackActivity$1;->this$0:Lcom/netease/newsreader/activity/FeedBackActivity;

    invoke-static {v1}, Lcom/netease/newsreader/activity/FeedBackActivity;->access$3(Lcom/netease/newsreader/activity/FeedBackActivity;)Landroid/app/ProgressDialog;

    move-result-object v1

    if-eqz v1, :cond_3

    .line 182
    iget-object v1, p0, Lcom/netease/newsreader/activity/FeedBackActivity$1;->this$0:Lcom/netease/newsreader/activity/FeedBackActivity;

    invoke-static {v1}, Lcom/netease/newsreader/activity/FeedBackActivity;->access$3(Lcom/netease/newsreader/activity/FeedBackActivity;)Landroid/app/ProgressDialog;

    move-result-object v1

    .line 183
    invoke-virtual {v1}, Landroid/app/ProgressDialog;->isShowing()Z

    move-result v1

    if-eqz v1, :cond_3

    .line 184
    iget-object v1, p0, Lcom/netease/newsreader/activity/FeedBackActivity$1;->this$0:Lcom/netease/newsreader/activity/FeedBackActivity;

    invoke-static {v1}, Lcom/netease/newsreader/activity/FeedBackActivity;->access$3(Lcom/netease/newsreader/activity/FeedBackActivity;)Landroid/app/ProgressDialog;

    move-result-object v1

    invoke-virtual {v1}, Landroid/app/ProgressDialog;->dismiss()V

    .line 186
    :cond_3
    iget-object v1, p0, Lcom/netease/newsreader/activity/FeedBackActivity$1;->this$0:Lcom/netease/newsreader/activity/FeedBackActivity;

    const-string v2, "\u8bf7\u586b\u5199\u53cd\u9988\u4fe1\u606f\uff0c\u8c22\u8c22\u60a8\u7684\u652f\u6301\uff01"

    invoke-static {v1, v2, v6}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/Toast;->show()V

    .line 190
    iget-object v1, p0, Lcom/netease/newsreader/activity/FeedBackActivity$1;->this$0:Lcom/netease/newsreader/activity/FeedBackActivity;

    invoke-static {v1}, Lcom/netease/newsreader/activity/FeedBackActivity;->access$7(Lcom/netease/newsreader/activity/FeedBackActivity;)Landroid/widget/Button;

    move-result-object v1

    invoke-virtual {v1, v5}, Landroid/widget/Button;->setEnabled(Z)V

    goto :goto_0
.end method
